package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.ConsumptionItem;
import cn.wolfcode.car.qo.ConsumptionItemQueryObject;

import java.util.List;

public interface ConsumptionItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConsumptionItem record);

    ConsumptionItem selectByPrimaryKey(Long id);

    List<ConsumptionItem> selectAll();

    int updateByPrimaryKey(ConsumptionItem record);

    List<ConsumptionItem> selectForPage(ConsumptionItemQueryObject qo);

    List<ConsumptionItem> selectBycno(String cno);

    void deleteByCno(String cno);
}